package com.example.echoewish.pojo;

import androidx.room.Entity;

public class Chat {

    public int id;
    public Integer otherId;

    public String content;
    public String time;

    public String name;
    public String headImage;

    public Chat(ChatEntity chatEntity)
    {
        this.id=chatEntity.myId;
        this.otherId=chatEntity.otherId;
        this.content=chatEntity.content;
        this.time=chatEntity.time;
    }

    public Chat()
    {

    }

}
